<%@ page import="se2.Customer" %>

<%
	Customer cust = new Customer();
	
	if (cust.cancelCustomer(Integer.parseInt(request.getParameter("id"))))
	{
%>
		<jsp:forward page="viewCustomerAccount.jsp" />
<%
	}
	else
	{
%>
		<jsp:forward page="error.jsp?url=viewCustomerAccount.jsp" />
<%
	}
%>
